﻿using Microsoft.AspNetCore.Mvc.Filters;

namespace ConsoleApp7.Filter
{
    public class MyResultFilter1 : Attribute, IActionFilter
    {
        public void OnActionExecuted(ActionExecutedContext context)
        {
            Console.WriteLine("my1 end");
        }

        public void OnActionExecuting(ActionExecutingContext context)
        {
            Console.WriteLine("my1 ks");
        }
    }
}
